package com.kws.tool.verify;


/**
 * 实名认证企业实名认证功能类
 * @author  澄泓
 * @date  2020/11/17 9:40
 * @version JDK1.7
 */
public class OrgIdentityVerify {

    /**
     * 获取组织机构核身地址
     * @return
     */
    public static OrgAuthUrl orgAuthUrl(){
        return new OrgAuthUrl();
    }




    /**
     * 发起企业核身认证3要素检验
     * @param name
     * @param orgCode
     * @param legalRepName
     * @return
     */
    public static OrgThreeFactors orgThreeFactors(String name, String orgCode, String legalRepName){
        return new OrgThreeFactors(name, orgCode, legalRepName);
    }

    /**
     * 发起随机金额打款认证
     * @param flowId
     * @param bank
     * @param province
     * @param city
     * @param subbranch
     * @param cardNo
     * @param cnapsCode
     * @return
     */
    public static TransferRandomAmount transferRandomAmount(String flowId, String bank, String province, String city, String subbranch, String cardNo, String cnapsCode){
        return new TransferRandomAmount(flowId, bank, province, city, subbranch, cardNo, cnapsCode);
    }



    /**
     * 发起企业反向打款认证
     * @param flowId
     * @return
     */
    public static ReversePayment reversePayment(String flowId){
        return new ReversePayment(flowId);
    }



}
